package com.day11.ex08;

public class BasketbalPlayer extends Player {
    public BasketbalPlayer() {
        super();
    }
    public BasketbalPlayer(String name, int age) {
        super(name, age);
    }
    @Override
    public void study() {
        System.out.println("study");
    }
    @Override
    public String getName() {
        return super.getName();
    }

    @Override
    public void eat() {

    }
}
